//
//  CellOfFilm.m
//  UI13_xib创建自定义cell
//
//  Created by Scott on 16/3/25.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "CellOfFilm.h"

@interface CellOfFilm ()

@property (retain, nonatomic) IBOutlet UIView *viewOfBack;



@end

@implementation CellOfFilm

- (void)awakeFromNib {
    // Initialization code
    
    self.viewOfBack.layer.cornerRadius = 10;
    
    // 阴影
    self.viewOfBack.layer.shadowOpacity = 0.5;
    
    self.viewOfBack.layer.shadowColor = [UIColor redColor].CGColor;
    
    self.viewOfBack.layer.shadowOffset = CGSizeMake(5, 10);
    
    self.viewOfBack.layer.shadowRadius = 3;
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
    
    [_viewOfBack release];
    [super dealloc];
}
@end
